  <!-- pane页面顶部操作条 -->
<template>
    <div>
          <el-form :inline="true" :model="form">
          <el-form-item label="标准名称：">
              <el-input v-model="form.searchName" placeholder="请输入标准名称"></el-input>
          </el-form-item>
          <el-form-item label="审核状态：">
              <el-select v-model="form.examStatus" placeholder="请选择">
                <el-option  v-for="item in examOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
              </el-select>
          </el-form-item>
          <el-form-item label="状态：">
              <el-select v-model="form.status" placeholder="请选择">
                  <el-option v-for="item in statusOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
              </el-select>
          </el-form-item>
          <el-form-item >
            <el-button type="primary"  @click="$emit('searchList',1)" id="monitorEnter">查询</el-button>
            <el-button plain  @click="$emit('add')">新增</el-button>
            <el-button plain @click="$emit('push')">批次发起审批</el-button>
          </el-form-item >
		</el-form>
    </div>
</template>
<script>
import api from '@/api/apiPath'

export default {
	  data () {
      return {
             examOptions:[
               {label:'全部',value:''},
               {label:'未审批',value:0},
               {label:'审批中',value:1},
               {label:'审批通过',value:2},
               {label:'审批不通过',value:3},
             ],
             statusOptions:[
               {label:'全部',value:''},
               {label:'未启用',value:0},
               {label:'已启用',value:1},
             ]
          }
    },
    props:['form']
}

</script>

<style lang="stylus">

</style>
